# 配置文件
# WiFi配置
WIFI_SSID = "your-ssid"
WIFI_PASSWORD = "your-password"

# 阿里云IoT平台配置
# 设备三元组信息，从阿里云IoT平台获取
ALIYUN_PRODUCT_KEY = "xxxxxxxxxxx"
ALIYUN_DEVICE_NAME = "xxxxxxxxxxx"
ALIYUN_DEVICE_SECRET = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
ALIYUN_REGION_ID = "cn-shanghai"
ALIYUN_SECURE_MODE = 2

# 主题配置
# 设备上报数据主题
TOPIC_UP = f"/sys/{ALIYUN_PRODUCT_KEY}/{ALIYUN_DEVICE_NAME}/thing/event/property/post"
# 设备接收指令主题
TOPIC_DOWN = f"/sys/{ALIYUN_PRODUCT_KEY}/{ALIYUN_DEVICE_NAME}/thing/service/property/set"

# 阿里云心跳配置
ALIYUN_KEEPALIVE_INTERVAL = 60
